<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>axios的配置对象</title>
</head>
<body>
    <script>
        //axios 的默认配置
        axios.defaults.baseURL = 'http://api.xiaohigh.com:8090';
        axios.defaults.method = 'GET';
        axios.defaults.timeout = 2000;
        

    </script>
</body>
</html>